/**
 * Created with IntelliJ IDEA.
 * User: skyline{http://my.oschina.net/skyline520}
 * Date: 12-11-22
 * Time: 下午9:22
 * To change this template use File | Settings | File Templates.
 */
Ext.define('Airways.view.system.roleuser.RoleLeftView',{
    extend:'Ext.panel.Panel',
    alias:'widget.roleLeftView',
    region:'west',
    anchor:'100% 20%',
    header:false,
    bodyBorder:false,
    frame:true,
    buttonAlign:'center',
    layout:{
        type:'anchor'
    },
    defaults:{
        split:true
    },
    initComponent:function(){
        this.items = this.buildItems();
        this.callParent(arguments);
    },
    buildItems:function(){
        var queryFormPanel = Ext.create('Airways.view.system.roleuser.RoleQueryFormPanel');
        var gridPanel = Ext.create('Airways.view.system.roleuser.RoleGridPanel');
        return [queryFormPanel,gridPanel]
    }
});
